package com.xuhai.blog.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xuhai.blog.admin.entity.UserEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuhai.blog.common.form.LoginForm;
import com.xuhai.blog.common.form.PasswordForm;
import com.xuhai.blog.common.util.ResultJson;

/**
 * <p>
 * 后台用户表 服务类
 * </p>
 *
 * @author 机蜂
 * @since 2022-02-08
 */
public interface UserService extends IService<UserEntity> {
    ResultJson login(LoginForm loginForm);
    void update(UserEntity user);
    void updatePassword(PasswordForm passwordForm);
    IPage<UserEntity> getPage(int page,int limit,UserEntity user);
}
